/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.magri.mvc.annotation;

import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;
import org.magri.mvc.modelo.AbstractBean;

/**
 *
 * @author Xand
 */
public enum FieldType {
    
    
    ABSTRACTBEAN(AbstractBean.class),
    OBJECT(Object.class),
    STRING(String.class),
    BIGDECIMAL(BigDecimal.class),
    
    INTEGER(Integer.class),
    DOUBLE(Double.class),
    FLOAT(Float.class),
    LONG(Long.class),
    BOOLEAN(Boolean.class),
    BYTE(Byte.class),
    
    DATE(Date.class),
    TIME(Time.class),
    
    INT(Integer.TYPE),
    P_DOUBLE(Double.TYPE),
    P_FLOAT(Float.TYPE),
    P_LONG(Long.TYPE),
    P_BOOLEAN(Boolean.TYPE),
    P_BYTE(Byte.TYPE);
    
    

    Class type;
    
    private FieldType(Class type) {
        this.type = type;
    }
    
    public Class getType() {
        return type;
    }
}
